﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.ObjectModel
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.TalentTree.Schema

    Public Class talent

        <XmlAttribute()> Public Property column As Integer
        <XmlAttribute()> Public Property icon As String
        <XmlAttribute()> Public Property key As String
        <XmlAttribute()> Public Property name As String
        <XmlAttribute()> Public Property requires As String
        <XmlAttribute()> Public Property tier As Integer

        Private rRank As New Collection(Of rank)
        <XmlElement()> Public ReadOnly Property rank As Collection(Of rank)
            Get
                Return rRank
            End Get
        End Property

        Private sSpell As New Collection(Of spell)
        <XmlElement()> Public ReadOnly Property spell As Collection(Of spell)
            Get
                Return sSpell
            End Get
        End Property

    End Class

End Namespace